package com.wolf.repository;

import com.wolf.pojo.Wl_user_admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Wl_user_adminMapper {
    int deleteByPrimaryKey(String id);

    int insert(Wl_user_admin record);

    int insertSelective(Wl_user_admin record);

    Wl_user_admin selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Wl_user_admin record);

    int updateByPrimaryKey(Wl_user_admin record);

    List<Wl_user_admin> getAll();

    /**
     * 登录
     * @param userName
     * @param passWord
     * @return
     */
    Wl_user_admin login(@Param("userName") String userName, @Param("passWord")String passWord);
}